package bjut.zrpc.core.optimization.interfaces;


import bjut.zrpc.core.optimization.annotation.SPI;

/**
 * @Author: zhuzhiming
 * @Date: 2022/6/24 0:37
 */
@SPI(value = "gzip")
public interface Compress {

    byte[] compress(byte[] bytes);

    byte[] deCompress(byte[] bytes);

}
